package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//报告表
@Document(collection ="testSoul_conclusion" )
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Conclusion implements Serializable {
    private static final long serialVersionUID = 4625317227042973743L;
    @Id
    private ObjectId id;//主键
    private Long userId;//用户id
    private String level;//等级
    private Integer type;//类型
    private Boolean isLock;//是否锁住（0解锁，1枷加锁）
    private String reportId;//最新报告id
    private Double score;
}
